package com.zyj.persion.domain;

import java.util.List;

import com.zyj.assets.domain.AssetsInfo;
import com.zyj.common.annotation.Excel;
import com.zyj.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 人员资产对象 assets_presion
 * 
 * @author zhuyujie
 * @date 2022-05-09
 */
public class AssetsPresion extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /**  */
    private Long assetsPersionId;

    /** 人员编号 */
    @Excel(name = "人员编号")
    private Long userId;

    /** 资产编号 */
    @Excel(name = "资产编号")
    private String assetsId;

    /** 资产信息 */
    private List<AssetsInfo> assetsInfoList;

    public void setAssetsPersionId(Long assetsPersionId) 
    {
        this.assetsPersionId = assetsPersionId;
    }

    public Long getAssetsPersionId() 
    {
        return assetsPersionId;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setAssetsId(String assetsId) 
    {
        this.assetsId = assetsId;
    }

    public String getAssetsId() 
    {
        return assetsId;
    }

    public List<AssetsInfo> getAssetsInfoList()
    {
        return assetsInfoList;
    }

    public void setAssetsInfoList(List<AssetsInfo> assetsInfoList)
    {
        this.assetsInfoList = assetsInfoList;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("assetsPersionId", getAssetsPersionId())
            .append("userId", getUserId())
            .append("assetsId", getAssetsId())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("assetsInfoList", getAssetsInfoList())
            .toString();
    }
}
